package com.atguigu.lease.common.constants;

//定义与 Redis 缓存相关的常量，用于统一管理缓存 key 的命名前缀和过期时间等配置

public class RedisConstant {
    public static final String ADMIN_LOGIN_PREFIX = "admin:login:";
    public static final Integer ADMIN_LOGIN_CAPTCHA_TTL_SEC = 60;//后台登录验证码的过期时间
    public static final String APP_LOGIN_PREFIX = "app:login:";
    public static final Integer APP_LOGIN_CODE_RESEND_TIME_SEC = 60;
    public static final Integer APP_LOGIN_CODE_TTL_SEC = 60 * 10;

}
